---
title: "YearEndStatementForYearByPayrollAdministrationId (Loket.nl REST)"
description: "Year-End Statement for Year by Payroll Administration ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.%5BYear-endStatementAtAdministrationLevel%5D.YearEndStatementForYearByPayrollAdministrationId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.%5BYear-endStatementAtAdministrationLevel%5D.YearEndStatementForYearByPayrollAdministrationId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# YearEndStatementForYearByPayrollAdministrationId: Loket.nl REST Year-End Statement for Year by Payroll Administration ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Year-endStatementAtAdministrationLevel`
- Label: Year-End Statement for Year by Payroll Administration ID

Download year-end statement of a payroll administration for a year
__Activity name :__ GetYearEndStatementForYearByPayrollAdministrationId

__Availability:__ This is endpoint is available for the Loket.nl application only. It is not available for external parties

Download the year-end statements of a payroll administration (of its underlying employment) for a year.

The year-end statements at administration level are effectively a collection of year-end statements for its underlying employments. With this endpoint it may also be required at the administration level in one call.

_Please note: this endpoint may only be used to acquire a report in the pdf-type format_ 


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/{payrollAdministrationId}/yearendstatements/{year}`
- Operation: `get /providers/employers/payrolladministrations/{payrollAdministrationId}/yearendstatements/{year}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `includeEmployeeSelfService` | `` | [ ] |  | If true; then the year-end statements for employments of which the employee has access to the employee self service module will be included in the response. If false; this specific group will be excluded. |
| `payrollAdministrationId` | `` | [x] |  | The unique identifier of an administration |
| `year` | `` | [x] |  | The payroll year |

## Table Columns

The columns of the table `YearEndStatementForYearByPayrollAdministrationId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `DOCUMENT` | `blob` | Document | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

